﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Drug.aspx.cs" Inherits="Drug" Title="Untitled Page"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style>
.customers
  {
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  width:100%;
  border-collapse:collapse;
  }

.customers td, #customers th 
  {
  font-size:1em;
  border:1px solid #84c5f1;
  padding:3px 7px 2px 7px;
  }

.customers th 
  {
  font-size:1.1em;
  text-align:left;
  padding-top:5px;
  padding-bottom:4px;
  background-color:#84c5f1;
  color:#ffffff;
  }

.customers tr.alt td 
  {
  color:#000000;
  background-color:#84c5f1;
  }
</style>
<div class="hd-top">
    <div class="hd-top-con">
        <a href="Default.aspx" class="back">返回</a>
        <strong>库存商品查询</strong>
        <a href="Login.aspx?q=quit" class="quit">退出帐号</a>     </div>
</div>
<!-- 内容 -->
<div class="content">
    <div class="personal-wrap row">		
		                <div class="psn-post">
            <div class="psn-tag">
                <div class="tag-con row">
        <i class="tag slted">部门</i>  
        <asp:DropDownList ID="DropDownList1" runat="server" CssClass="tag slted"  OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
            <asp:ListItem>-请选择-</asp:ListItem>            
        </asp:DropDownList><asp:TextBox ID="search" runat="server" CssClass="tag slted" placeholder="检索内容"></asp:TextBox>            
	<asp:Button ID="submit" runat="server" CssClass="tag slted" Text="查询" OnClick="submit_Click"/>
                </div>
            </div>
			<!--
				<div class="nolist">
					<div class="no-msg">暂无内容</div>
				</div>
			-->			
			        <!-- 分页 -->
			<div class="post-list">			
                <div class="post-lists-t2">
                <!--
					<span>
						<ul>
							<asp:Label ID="GetAttInfo" runat="server"></asp:Label>	
						</ul>
					</span> 
					-->
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="customers">
                        <Columns>                                
                            <asp:BoundField DataField="spmch" HeaderText="商品名称"> 
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" Width="25%" />
                            </asp:BoundField> 
                            <asp:BoundField DataField="shpgg" HeaderText="规格">
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" Width="25%" />
                            </asp:BoundField> 
                            <asp:BoundField DataField="dw" HeaderText="单位">
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                            </asp:BoundField> 
                            <asp:BoundField DataField="shengccj" HeaderText="厂家">
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" Width="25%" />
                            </asp:BoundField> 
                            <asp:BoundField DataField="zdsj" HeaderText="售价">
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                            </asp:BoundField> 
                            <asp:BoundField DataField="kcshl" HeaderText="库存">
                                <HeaderStyle HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                            </asp:BoundField> 
                         </Columns>
                    </asp:GridView>
				</div>
            </div>	
		        </div>
            </div>
</div>
<!-- 内容 end -->
<div class="hd-top hd-top-bd">
    <div class="hd-top-con">
        <a class="back" href="Default.aspx">返回</a>
        <strong>库存商品查询</strong>
    </div>
</div>
</asp:Content>